Merged
Conversation
TornaxO7
suggested changes
Oct 2, 2025
70ec20d to
a5f4f83
Compare
* Format with `alejandra` and add it to all devShells
* Use `lib.fileset` to get only the needed files for the build
* Fix build inputs for Darwin
* Make `wayland` and `x11` optional using the package args `with*`
* Create a separate `terminfo` output[^1]
* Fix nix file indentation to 2 instead of 4
* Remove `app`, `package` already has a `meta.mainProgram` attribute
* Add an overlay that can be used to override the `rio` package using
flake-part's easyOverlay module[^2]
* Create separate package for `msrv`, `stable` and `nightly`, matching
the different `devShells` available
* Removed the `flake = false` attribute for `inputs.systems`
* Create `legacyPackages.rio` containing four sub packages using
different versions of the rust-toolchain:
* `rio.msrv` - uses `./rust-toolchain.toml`
* `rio.stable` - uses `rust-bin.stable`
* `rio.nightly` - uses the latest nightly rust
* `rio.default` - Same as `rio.msrv`
* Added `/result` to get rid of the `nix build` output file[^3]
[^1]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ri/rio/package.nix
[^2]: https://flake.parts/options/flake-parts-easyoverlay
[^3]: A simpler version of raphamorim#1233, that _just_ adds this one line
TornaxO7
approved these changes
Oct 22, 2025
Contributor
TornaxO7
left a comment
There was a problem hiding this comment.
Sorry, I thought I already approved it.
raphamorim
pushed a commit
that referenced
this pull request
Oct 29, 2025
* Format with `alejandra` and add it to all devShells
* Use `lib.fileset` to get only the needed files for the build
* Fix build inputs for Darwin
* Make `wayland` and `x11` optional using the package args `with*`
* Create a separate `terminfo` output[^1]
* Fix nix file indentation to 2 instead of 4
* Remove `app`, `package` already has a `meta.mainProgram` attribute
* Add an overlay that can be used to override the `rio` package using
flake-part's easyOverlay module[^2]
* Create separate package for `msrv`, `stable` and `nightly`, matching
the different `devShells` available
* Removed the `flake = false` attribute for `inputs.systems`
* Create `legacyPackages.rio` containing four sub packages using
different versions of the rust-toolchain:
* `rio.msrv` - uses `./rust-toolchain.toml`
* `rio.stable` - uses `rust-bin.stable`
* `rio.nightly` - uses the latest nightly rust
* `rio.default` - Same as `rio.msrv`
* Added `/result` to get rid of the `nix build` output file[^3]
[^1]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ri/rio/package.nix
[^2]: https://flake.parts/options/flake-parts-easyoverlay
[^3]: A simpler version of #1233, that _just_ adds this one line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
alejandraand add it to all devShellslib.filesetto get only the needed files for the buildwaylandandx11optional using the package argswith*terminfooutput1app,packagealready has ameta.mainProgramattributeriopackage using flake-part's easyOverlay module2msrv,stableandnightly, matching the differentdevShellsavailableflake = falseattribute forinputs.systemslegacyPackages.riocontaining four sub packages using different versions of the rust-toolchain:rio.msrv- uses./rust-toolchain.tomlrio.stable- usesrust-bin.stablerio.nightly- uses the latest nightly rustrio.default- Same asrio.msrv/resultto get rid of thenix buildoutput file3Footnotes
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ri/rio/package.nix ↩
https://flake.parts/options/flake-parts-easyoverlay ↩
A simpler version of gitignore: fixes for nix output links #1233, that just adds this one line ↩